package com.ruoyi.gcgl.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商机跟踪对象 sj_chance
 * 
 * @author ruoyi
 * @date 2025-08-04
 */
public class SjChance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 客户单位 */
    @Excel(name = "客户单位")
    private String customerName;

    /** 项目阶段 */
    @Excel(name = "项目阶段")
    private String proLevel;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startAt;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endAt;

    /** 客户组 */
    @Excel(name = "客户组")
    private String customerType;

    /** 报价合计 */
    @Excel(name = "报价合计")
    private BigDecimal bjhj;

    /** 销售预测 */
    @Excel(name = "销售预测")
    private BigDecimal xsje;

    /** 成交比 */
    @Excel(name = "成交比")
    private String cjbl;

    /** 负责人 */
    @Excel(name = "负责人")
    private String owner;

    /** 业务线 */
    @Excel(name = "业务线")
    private String ywx;

    /** 来源 */
    @Excel(name = "来源")
    private String laiy;

    /** 优先级 */
    @Excel(name = "优先级")
    private String yxj;

    /** 战略机会 */
    @Excel(name = "战略机会")
    private String zljh;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private String fxdj;

    /** 分级 */
    @Excel(name = "分级")
    private String fenj;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 描述 */
    @Excel(name = "描述")
    private String descs;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    
    private String memo;
    
    private Long ownerId;
    private String dept;
    private Integer deptId;
    
    private Long approveid;
    private String approvename;
    private String processInstanceId;
    
    private List<Long> roleIds;
    
    private String xmds;
    
    private Long xmdsId;
    
    public String getXmds() {
		return xmds;
	}

	public void setXmds(String xmds) {
		this.xmds = xmds;
	}

	public Long getXmdsId() {
		return xmdsId;
	}

	public void setXmdsId(Long xmdsId) {
		this.xmdsId = xmdsId;
	}

	public List<Long> getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(List<Long> roleIds) {
		this.roleIds = roleIds;
	}

	public Long getApproveid() {
		return approveid;
	}

	public void setApproveid(Long approveid) {
		this.approveid = approveid;
	}

	public String getApprovename() {
		return approvename;
	}

	public void setApprovename(String approvename) {
		this.approvename = approvename;
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public Long getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}

	public String getDept() {
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setProLevel(String proLevel) 
    {
        this.proLevel = proLevel;
    }

    public String getProLevel() 
    {
        return proLevel;
    }
    public void setStartAt(Date startAt) 
    {
        this.startAt = startAt;
    }

    public Date getStartAt() 
    {
        return startAt;
    }
    public void setEndAt(Date endAt) 
    {
        this.endAt = endAt;
    }

    public Date getEndAt() 
    {
        return endAt;
    }
    public void setCustomerType(String customerType) 
    {
        this.customerType = customerType;
    }

    public String getCustomerType() 
    {
        return customerType;
    }
    public void setBjhj(BigDecimal bjhj) 
    {
        this.bjhj = bjhj;
    }

    public BigDecimal getBjhj() 
    {
        return bjhj;
    }
    public void setXsje(BigDecimal xsje) 
    {
        this.xsje = xsje;
    }

    public BigDecimal getXsje() 
    {
        return xsje;
    }
    public void setCjbl(String cjbl) 
    {
        this.cjbl = cjbl;
    }

    public String getCjbl() 
    {
        return cjbl;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }
    public void setYwx(String ywx) 
    {
        this.ywx = ywx;
    }

    public String getYwx() 
    {
        return ywx;
    }
    public void setLaiy(String laiy) 
    {
        this.laiy = laiy;
    }

    public String getLaiy() 
    {
        return laiy;
    }
    public void setYxj(String yxj) 
    {
        this.yxj = yxj;
    }

    public String getYxj() 
    {
        return yxj;
    }
    public void setZljh(String zljh) 
    {
        this.zljh = zljh;
    }

    public String getZljh() 
    {
        return zljh;
    }
    public void setFxdj(String fxdj) 
    {
        this.fxdj = fxdj;
    }

    public String getFxdj() 
    {
        return fxdj;
    }
    public void setFenj(String fenj) 
    {
        this.fenj = fenj;
    }

    public String getFenj() 
    {
        return fenj;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("proLevel", getProLevel())
            .append("startAt", getStartAt())
            .append("endAt", getEndAt())
            .append("customerType", getCustomerType())
            .append("bjhj", getBjhj())
            .append("xsje", getXsje())
            .append("cjbl", getCjbl())
            .append("owner", getOwner())
            .append("ywx", getYwx())
            .append("laiy", getLaiy())
            .append("yxj", getYxj())
            .append("zljh", getZljh())
            .append("fxdj", getFxdj())
            .append("fenj", getFenj())
            .append("status", getStatus())
            .append("descs", getDescs())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .append("memo", getMemo())
            .toString();
    }
}
